package com.coderman.infosys.auth.infrast.dataconvert;

import java.util.List;
import com.coderman.infosys.auth.domain.bo.authority.AdminAuthorityBO;
import com.coderman.infosys.auth.infrast.dao.dataobject.AdminAuthorityDO;
import com.coderman.infosys.auth.domain.bo.authority.AuthorityBO;
import com.coderman.infosys.auth.infrast.dao.dataobject.AuthorityDO;

import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

/**
* @Description:行政权限接口
* @Author:
* @CreateTime:2022-01-02 15:27:39
* @version v1.0
*/
@Mapper
public interface AdminAuthorityConvert{
	AdminAuthorityConvert INSTANCE = Mappers.getMapper(AdminAuthorityConvert.class);

	/**
	 *
	 * @Description:
	 * @return AdminAuthorityBO
	 */
	 AdminAuthorityBO do2bo(AdminAuthorityDO adminAuthorityDO);
	/**
	 *
	 * @Description:
	 * @return List<AdminAuthorityBO>
	 */
	 List<AdminAuthorityBO> doList2boList(List<AdminAuthorityDO> adminAuthorityDOList);
	/**
	 *
	 * @Description:
	 * @return AdminAuthorityDO
	 */
	 AdminAuthorityDO bo2do(AdminAuthorityBO adminAuthorityBO);
	/**
	 *
	 * @Description:
	 * @return List<AdminAuthorityDO>
	 */
	 List<AdminAuthorityDO> boList2doList(List<AdminAuthorityBO> adminAuthorityBOList);
}